// Crypt.h: interface for the tmp class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_TMP_H__B11A5C45_93DE_46EC_9B22_1C6C728DD9E2__INCLUDED_)
#define AFX_TMP_H__B11A5C45_93DE_46EC_9B22_1C6C728DD9E2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CCrypt  
{
public:
  CCrypt();
  virtual ~CCrypt();
  static LPSTR StrToHex(LPSTR pstr, DWORD dwStrLen);
  static LPSTR HexToStr(LPSTR pstr, DWORD dwStrLen);
  static LPSTR EnCode1(LPSTR strSrc, LPCSTR strKey);
  static LPSTR DeCode1(LPSTR strSrc, LPCSTR strKey); 
  static LPSTR EnCode2(LPSTR strSrc, LPSTR strKey);
  static LPSTR DeCode2(LPSTR strSrc, LPSTR strKey); 
  static LPSTR EnCode3(LPSTR strSrc, LPSTR strKey);
  static LPSTR DeCode3(LPSTR strSrc, LPSTR strKey); 
};

#endif // !defined(AFX_TMP_H__B11A5C45_93DE_46EC_9B22_1C6C728DD9E2__INCLUDED_)
